// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import 'babel-polyfill'
import Es6Promise from 'es6-promise'
import {Table, List, Icon, Tabs} from 'view-design'
import './font/iconfont.css'
import 'view-design/dist/styles/iview.css'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)
Vue.component('Table', Table)
Vue.component('List', List)
Vue.component('ListItem', List.Item)
Vue.component('ListItemMeta', List.Item.Meta)
Vue.component('Tabs', Tabs)
Vue.component('Pane', Tabs.Pane)
Vue.component('Icon', Icon)
Vue.config.productionTip = false
Es6Promise.polyfill()
/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { App },
  template: '<App/>'
})
